package com.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import java.time.LocalDateTime;

/**
 * ClassName: Concern
 * Description:
 *
 * @Author L_Z_R
 * @Create 2025/04/16 15:51
 * @Version 1.0
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Concern {
    private Integer sysId;         // 关注记录编号（自增主键）
    private Integer concernId;    // 关注者用户ID
    private Integer befollowedId; // 被关注者用户ID
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime; // 关注时间
    private Boolean isDelete;      // 是否取消关注（0有效 1已取消）
}